package homeWork_10_1.Exam1_2;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        Suppermacket sp = new Suppermacket();
        ArrayList<Goods> check = sp.check();
        for (Goods g:check
             ) {
            System.out.println(g);
        }

    }
}
